package com.huaxindata.common.util;

import android.content.Context;
import android.widget.Toast;

public class ToastUtil {
    private static Toast mToast;
    public static void showToast(Context context,String message) {
        if (mToast == null) {
            mToast=Toast.makeText(context,message,Toast.LENGTH_SHORT);
        }
        mToast.setText(message);
        mToast.show();
    }
}
